package com.duobaoyu.dby.supply.common.biz.vo.message;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @Author tianxiaoqiang
 * @Date 2022/8/10 20:51
 * @Version 1.0
 * @Description mq消息
 */
@Data
@ApiModel(value = "MqMessageVO对象", description = "mq消息表")
public class MqMessageVO implements Serializable {


	private static final long serialVersionUID = -90280064051494377L;

	/**
	 * id
	 */
	private String id;
	/**
	 * 主题
	 */
	@ApiModelProperty(value = "topic")
	private String topic;
	/**
	 * 标签
	 */
	@ApiModelProperty(value = "tag")
	private String tag;
	/**
	 * 消息体
	 */
	@ApiModelProperty(value = "消息体")
	private String message;
	/**
	 * 超时时间
	 */
	@ApiModelProperty(value = "超时时间")
	private Long timeout;
	/**
	 * hashKey
	 */
	@ApiModelProperty(value = "hashKey")
	private String hashKey;

	/**
	 * mq 发送状态
	 */
	private String status;

	/**
	 * msgId
	 */
	private String msgId;

	/**
	 * 来源
	 */
	private String origin;

	/**
	 * 创建时间
	 */
	private LocalDateTime createTime;
}
